package pub.tbc.hh.mall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pub.tbc.hh.mall.mapper.WaresMapper;
import pub.tbc.hh.mall.service.WaresService;

import java.util.Map;

/**
 * @auth tbc on 2018/5/20.
 */
@Service
public class WaresServiceImpl implements WaresService {

    @Autowired
    private WaresMapper mapper;

    @Override
    public Map<String, Object> queryWaresByType(long typeId) {
        return mapper.queryWaresByTypeId(typeId);
    }
}
